package com.csdj.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.csdj.pojo.IvArchive;
import com.csdj.pojo.IvInvoice;
import com.baomidou.mybatisplus.extension.service.IService;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author 叶涵
* @description 针对表【iv_invoice】的数据库操作Service
* @createDate 2023-08-24 15:13:39
*/
public interface IvInvoiceService extends IService<IvInvoice> {

    int getCount(Integer startNo,Integer endNo);

    boolean Update(int startNo, int endNo,int OutId,int empID);


    int getCountByStartNoAndEndNoAndUserd(int startNo,int endNo);

    boolean UpdateArchive(IvArchive ivArchive);

   Map invoiceReportUse(Map<String,String> map);

    Page<Map> invoiceReportUse2(Page<Map> page,Map<String,String> map);

    Map invoiceReportMoneySum1(Map<String,String> map);

    List<Map> invoiceReportMoneySum2(Map<String,String> map);

    Page<Map> invoiceReportMoneyDetail(Page<Map> page,Map map);
}
